package cn.spy.threaddownload.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 自定义异常
 * @author sunpeiyu
 * @date 2023-04-10
 */
@NoArgsConstructor
@Data
public class CustomException extends RuntimeException {

    public CustomException(String msg) {
        this.message = msg;
    }

    private String path;
    private String error;
    private String message;
    private Date time;
    private int status;

}
